PixelCache: Ensure clean cairo_t state in draw
authorAlexander Larsson <alexl@redhat.com>
Wed, 8 Jan 2014 09:44:32 +0000 (10:44 +0100)
committerAlexander Larsson <alexl@redhat.com>
Wed, 8 Jan 2014 09:48:56 +0000 (10:48 +0100)
commitd07913840aca3ba3ef2cd046082f49da7fca39d7
tree80a2ccc12fc318e3c7a1ef628f7631fae59c62f9
parent256561db2f0b34e01047f8882b3e0cb8c6d9dbab
PixelCache: Ensure clean cairo_t state in draw

This adds save/restore calls to the clear-to-transparent call in
the pixel cache, to avoid changing the default color of the
cairo_t. It also removes a call set_operator call that is no longer
necessary (it was trying to manually restore the state).

https://bugzilla.gnome.org/show_bug.cgi?id=721480
gtk/gtkpixelcache.c